package com.sca.base.service;

import com.mask.common.log.util.LogUtils;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author：jian
 * @Package：com.mask.service
 * @Project：mask-sca-cloud
 * @name：BaseServiceMain
 * @Date：2025/3/5 16:42
 * @Filename：BaseServiceMain
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableDubbo(scanBasePackages = {"com.sca.base.service"})
public class BaseServiceMain {
    public static void main(String[] args) {
        SpringApplication.run(BaseServiceMain.class,args);
        LogUtils.info("BaseServiceApplication 启动成功");
        LogUtils.error("测试错误日志");
        LogUtils.warn("测试警告日志");
        LogUtils.debug("测试调试日志");
    }
}
